.class Lcom/instagram/android/creation/b/ao;
.super Ljava/lang/Object;
.source "FilterFragment.java"

# interfaces
.implements Lcom/instagram/android/creation/widget/h;


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/b/al;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/b/al;)V
    .locals 0
    .parameter

    .prologue
    .line 462
    iput-object p1, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(F)V
    .locals 6
    .parameter

    .prologue
    const/16 v5, 0xca2

    const/4 v4, 0x0

    .line 469
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0, p1}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;F)F

    .line 470
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->o(Lcom/instagram/android/creation/b/al;)Lcom/instagram/creation/photo/gl/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/al;->getTotalRotation()F

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/creation/photo/gl/a;->a(F)V

    .line 471
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->s(Lcom/instagram/android/creation/b/al;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v1}, Lcom/instagram/android/creation/b/al;->r(Lcom/instagram/android/creation/b/al;)Ljava/text/DecimalFormat;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v2}, Lcom/instagram/android/creation/b/al;->q(Lcom/instagram/android/creation/b/al;)F

    move-result v2

    float-to-double v2, v2

    invoke-virtual {v1, v2, v3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 472
    const/4 v0, 0x0

    cmpl-float v0, p1, v0

    if-eqz v0, :cond_0

    .line 473
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->p(Lcom/instagram/android/creation/b/al;)Lcom/instagram/android/creation/widget/ActionBarHighlightButton;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/widget/ActionBarHighlightButton;->setChecked(Z)V

    .line 481
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->d(Lcom/instagram/android/creation/b/al;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    .line 482
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->d(Lcom/instagram/android/creation/b/al;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    .line 483
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->j(Lcom/instagram/android/creation/b/al;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/os/Handler;->removeMessages(I)V

    .line 485
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->j(Lcom/instagram/android/creation/b/al;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    .line 486
    iget-object v1, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v1}, Lcom/instagram/android/creation/b/al;->j(Lcom/instagram/android/creation/b/al;)Landroid/os/Handler;

    move-result-object v1

    const-wide/16 v2, 0x3e8

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 488
    return-void

    .line 476
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/ao;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->p(Lcom/instagram/android/creation/b/al;)Lcom/instagram/android/creation/widget/ActionBarHighlightButton;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/instagram/android/creation/widget/ActionBarHighlightButton;->setChecked(Z)V

    goto :goto_0
.end method
